package com.rongc.client.freight.business.mine.request.api;


import com.android.volley.Response;
import com.rongc.client.core.network.api.MultipartRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;
import com.rongc.client.freight.base.request.result.NullResult;

import java.io.File;
import java.util.List;
import java.util.Map;


/*
*  添加车辆接口
* */


public class CarCreateApi extends MultipartRequest {


    public CarCreateApi(Response.Listener<NullResult> listener, Response.ErrorListener errorListener,
                        List<String> filePartName, List<File> files, Map<String, String> params) {
        super(ApiUrl.getAddCarUrl(), listener, errorListener, filePartName ,files,params,NullResult.class);
    }

    public static class CarCreateParams extends BaseParams {

        public CarCreateParams(String carInfo) {
            put("carInfo", carInfo);

        }
    }
}
